#ifndef INFOLURUDLG_H
#define INFOLURUDLG_H

#include <QDialog>
#include <QListWidgetItem>

#include "keyboardview.h"
#include "start.h"

namespace Ui {
class infolurudlg;
}

class infolurudlg : public QDialog
{
    Q_OBJECT

public:
    explicit infolurudlg(QWidget *parent = nullptr);
    ~infolurudlg();


private:
    Ui::infolurudlg *ui;

private:
    KeyBoardView* mKeyBoard;

    static QStringList poList;
    static QStringList styleList;
    static QStringList sizeList;
    static QStringList ponumList;

    int editIndex = 0;

private slots:
    void inputKey(QString key);
    void on_btShowkey_clicked();
    void on_btSave_clicked();
    void on_btPO_clicked();
    void on_btStyle_clicked();
    void on_btSize_clicked();
    void on_btPOnum_clicked();
    void on_listpo_itemClicked(QListWidgetItem *item);
    void on_liststyle_itemClicked(QListWidgetItem *item);
    void on_listsize_itemClicked(QListWidgetItem *item);
};

#endif // INFOLURUDLG_H
